package com.itlong.Pojo;


import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    @NonNull
    private int id;
    private String username;
    @JsonIgnore
    private String password;

    private String email;
    private LocalDateTime addTime;
    private LocalDateTime updateTime;

    private String nickname;
    private String userPic;
}
